import {
  request
} from '../_utils/request';

function create(data) {
  return request('/api/teacherOrder', 'POST', data)
}

function queryOrderByUserId(userId) {
  return request('/api/teacherOrder/user/' + userId, 'GET')
}

module.exports = {
  create,
  queryOrderByUserId
};